widget: Make _set_clip private
authorTimm Bäder <mail@baedert.org>
Wed, 12 Jul 2017 11:28:00 +0000 (13:28 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:16 +0000 (21:27 -0400)
We don't need this anymore since clips are now reported in
size-allocate.

docs/reference/gtk/gtk4-sections.txt
gtk/gtkwidget.c
gtk/gtkwidget.h

index b472333e31884d4a1469d0aa83090134c6a6fafd..3f7eaf31c59782df6eebd41275d4a819d0d50b58 100644 (file)
@@ -4612,7 +4612,6 @@ gtk_widget_get_allocation
 gtk_widget_get_allocated_baseline
 gtk_widget_get_allocated_size
 gtk_widget_get_clip
-gtk_widget_set_clip
 gtk_widget_get_can_default
 gtk_widget_set_can_default
 gtk_widget_get_can_focus
index f2e58d748a2839f323194208a4a2fe63ed181092..ac726ab4b67d1c7175ea7ab765f3ade6ab490c17 100644 (file)
@@ -754,6 +754,7 @@ static gboolean event_window_is_still_viewable (const GdkEvent *event);
 static void gtk_widget_update_input_shape (GtkWidget *widget);
 
 static gboolean gtk_widget_class_get_visible_by_default (GtkWidgetClass *widget_class);
+static void gtk_widget_set_clip (GtkWidget *widget, const GtkAllocation *clip);
 
 
 /* --- variables --- */
@@ -13123,10 +13124,8 @@ gtk_widget_get_clip (GtkWidget     *widget,
  *
  * If this function is not called by @widget during a ::size-allocate handler,
  * the clip will be set to @widget's allocation.
- *
- * Since: 3.14
  */
-void
+static void
 gtk_widget_set_clip (GtkWidget           *widget,
                      const GtkAllocation *clip)
 {
index bfaf04a586c32840226d8a789b62e65b2b35bd8f..dea23f10e15b564446f28131ef61a3f391eb1e0f 100644 (file)
@@ -750,9 +750,6 @@ GDK_AVAILABLE_IN_ALL
 void                  gtk_widget_get_allocation         (GtkWidget     *widget,
                                                          GtkAllocation *allocation);
 GDK_AVAILABLE_IN_3_14
-void                  gtk_widget_set_clip               (GtkWidget     *widget,
-                                                         const GtkAllocation *clip);
-GDK_AVAILABLE_IN_3_14
 void                  gtk_widget_get_clip               (GtkWidget     *widget,
                                                          GtkAllocation *clip);